home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11558 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.6 KB  |  92 lines

  1. <HTML>
  2. <HEAD>
  3. <LINK rel="stylesheet" href="%3/html/en/css/admin.css" type="text/css">
  4. <script src="%4/html/en/js/cookie.js"></script>
  5. </HEAD>
  6.  
  7. <BODY onload="Initialize();">
  8.  
  9. <DIV ID="tooltip" STYLE="position:absolute;visibility:hidden;z-index:99;"></DIV>
  10.  
  11. <SCRIPT SRC="%5/html/en/js/helps.js"></SCRIPT>
  12. <SCRIPT SRC="%6/html/en/js/tips.js"></SCRIPT>
  13.  
  14. <SCRIPT language=Javascript>
  15.     function Initialize() {
  16.       if(GetCookie('Admin_logonForm_usr') != null)
  17.         document.logonForm.apsuser.value = GetCookie('Admin_logonForm_usr');
  18.       var authtype;
  19.       authtype = GetCookie('Admin_logonForm_auth'); 
  20.  
  21.       if(authtype != null)
  22.       {
  23.         if(authtype == "NT")
  24.         {
  25.             document.logonForm.apsauthtype.options[0].selected = false;
  26.             document.logonForm.apsauthtype.options[1].selected = true;
  27.         }
  28.         else
  29.         {
  30.             document.logonForm.apsauthtype.options[0].selected = true;
  31.             document.logonForm.apsauthtype.options[1].selected = false;
  32.         }
  33.       }
  34.     }
  35.  
  36.     function FormSubmit() {
  37.        var expdate = new Date (); 
  38.        expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
  39.  
  40.        if(document.logonForm.apsuser.value.length != 0) {
  41.            SetCookie('Admin_logonForm_usr', document.logonForm.apsuser.value, expdate, null, null, false); 
  42.        };
  43.  
  44.        var authtype = "Enterprise";
  45.        if(document.logonForm.apsauthtype.options[1].selected)
  46.             authtype = "NT";
  47.        SetCookie('Admin_logonForm_auth', authtype, expdate, null, null, false);
  48.  
  49.        document.forms['logonForm'].submit();
  50.     }
  51. </SCRIPT>
  52.  
  53. <h3>%7</h3>
  54. <p> <p>
  55.  
  56. <CENTER>
  57.  
  58. <TABLE width=60%>
  59. <tr><td align=justify>
  60. <b>%8</b>
  61. <p>
  62. (If you are unsure of your account information, contact your system administrator.)
  63. </td></tr>
  64. </TABLE>
  65.  
  66. <FORM name=logonForm action="%1" method=POST>
  67. <!-- hidden fields begin  -->
  68. %2
  69. <!-- hidden fields end -->
  70. <TABLE width=50%>
  71. <TABLE width=50%>
  72. <tr><td>APS Name: </td><td>%9</td></tr>
  73. <tr><td>Authentication Type</td>
  74. <td><select name="apsauthtype" size=1 width=250>
  75. %10
  76. </select></td></tr>
  77. <tr><td>User Name</td><td><input type=text size=30 name="apsuser" value=""></td></tr>
  78. <tr><td>Password</td><td><input type=password size=30 name="apspassword" value=""></td></tr>
  79. <tr><td colspan=2 align=right>
  80. <table>
  81. <tr><td class="clsButton"><div class="clsButton">
  82. <a href="javascript:FormSubmit();" onMouseOver="St(200);window.status='';return true;" onMouseOut="Ht()">Log On</a>
  83. </div></td>
  84. </table>
  85. </td></tr>
  86. </TABLE>
  87. </FORM>
  88. </CENTER>
  89.  
  90. </BODY>
  91. </HTML>
  92.